package org.weso.lodin.to;

import org.weso.lodin.generated.CountryEnum;
import org.weso.lodin.generated.Dataset;
import org.weso.lodin.utils.StatusUtils;

public class ObservationTO {

	
	private String title;
	private String dataType;
	private String country;
	private CountryEnum countryType;
	private String countryAlt;
	private CountryEnum countryTypeAlt;
	private String value;
	private String year;
	private Dataset dataset;
	private CountryTO countryDecorated;
	private String measureId;
	private StatusUtils status;



	public ObservationTO(
			String title, 
			String dataType, 
			String country,
			CountryEnum countryType,
			String countryAlt,
			CountryEnum countryTypeAlt,
			String value, 
			String year, 
			String measureId) {
		this.title = title;
		this.dataType = dataType;
		this.country = country;
		this.countryType = countryType;
		this.countryAlt = countryAlt;
		this.countryTypeAlt = countryTypeAlt;
		this.value = value;
		this.year = year;
		this.measureId = measureId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public Dataset getDataset() {
		return dataset;
	}

	public void setDataset(Dataset dataset) {
		this.dataset = dataset;
		
	}

	public void setCountryDecorated(CountryTO countryDecorated) {
		this.countryDecorated = countryDecorated;
	}

	public CountryTO getCountryDecorated() {
		return countryDecorated;
	}

	public String getMeasureId() {
		return measureId;
	}

	public void setMeasureId(String measureId) {
		this.measureId = measureId;
	}

	public CountryEnum getCountryType() {
		return countryType;
	}

	public void setCountryType(CountryEnum countryType) {
		this.countryType = countryType;
	}

	public String getCountryAlt() {
		return countryAlt;
	}

	public void setCountryAlt(String countryAlt) {
		this.countryAlt = countryAlt;
	}

	public CountryEnum getCountryTypeAlt() {
		return countryTypeAlt;
	}

	public void setCountryTypeAlt(CountryEnum countryTypeAlt) {
		this.countryTypeAlt = countryTypeAlt;
	}

	public StatusUtils getStatus() {
		return status;
	}

	public void setStatus(StatusUtils status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "ObservationTO [title=" + title + ", dataType=" + dataType
				+ ", country=" + country + ", countryType=" + countryType
				+ ", countryAlt=" + countryAlt + ", countryTypeAlt="
				+ countryTypeAlt + ", value=" + value + ", year=" + year
				+ ", dataset=" + dataset + ", countryDecorated="
				+ countryDecorated + ", measureId=" + measureId + ", status="
				+ status + "]";
	}




	




}
